RemoteVideoStats class Null safety

远端视频流统计信息,统计周期为 2s

本地用户订阅远端音频流成功后,SDK 会周期性地通过 RTCRoomEventHandler.onRemoteStreamStats 通知本地用户订阅的远端视频流在此次统计周期内的接收状况,此数据结构即为回调给本地用户的参数类型。

Constructors

RemoteVideoStats({int? width, int? height, double? videoLossRate, double? receivedKBitrate, int? decoderOutputFrameRate, int? renderOutputFrameRate, int? stallCount, int? stallDuration, int? e2eDelay, bool? isScreen, int? statsInterval, int? rtt, int? frozenRate, VideoCodecType? codecType, int? videoIndex})
const

Properties

codecType → VideoCodecType?
视频的编码类型
final
decoderOutputFrameRate → int?
解码器输出帧率 [...]
final
e2eDelay → int?
用户体验级别的端到端延时 [...]
final
frozenRate → int?
远端用户在进房后发生视频卡顿的累计时长占视频总有效时长的百分比(%) [...]
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
height → int?
远端视频流高度
final
isScreen → bool?
所属用户的媒体流是否为屏幕流 [...]
final
receivedKBitrate → double?
接收码率 [...]
final
renderOutputFrameRate → int?
渲染帧率 [...]
final
rtt → int?
往返时延,单位为 ms 。
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
stallCount → int?
卡顿次数 [...]
final
stallDuration → int?
卡顿时长 [...]
final
statsInterval → int?
统计间隔,默认为 2000ms [...]
final
videoIndex → int?
对应多种分辨率的流的下标
final
videoLossRate → double?
视频丢包率 [...]
final
width → int?
远端视频流宽度
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited